package com.dc.docs._888_面试.concurrent._7_threadpool;

/**
 * Description: 获取CPU核心数
 * @author: gdc
 * @date: 2021/6/17
 * @version 1.0
 */
public class CpuCoresDemo {

    public static void main(String[] args){
        System.out.println("CPU核心数：" + Runtime.getRuntime().availableProcessors());
    }
}
